Directorist\Rest_Api\Controllers\Version2\Listings_Controller B

Total Complexity 94
Dependencies 3
Dependents 1
Total lines 979
Lines of code 854
Logical lines of code 253
Comment lines 36
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
get_item_schema()
C
19
4 426
get_listing_data()
C
35 26 81
get_fields_data()
B
36 22 75
hydrate_global_post()
B
40 19 60
get_images()
A
48 8 34
transform_taxonomy_data()
S
50 6 30
register_routes()
S
41 1 68
create_item()
S
53 4 22
get_schema_to_post_fields_map()
S
51 1 32
update_item()
S
56 2 17
get_schema_to_post_map()
S
66 1 9